<?php
 $DefineGradeAry = array( '1' => '小学一年级', '2' => '小学二年级', '3' => '小学三年级', '4' => '小学四年级', '5' => '小学五年级', '6' => '小学六年级', '7' => '初中一年级', '8' => '初中二年级', '9' => '初中三年级', '10' => '高中一年级', '11' => '高中二年级', '12' => '高中三年级', ); $DefineSexAry = array( 'male' => '男', 'female' => '女', 'other' => '保密', ); $DefineRoleAry = array( 'student' => '学生', 'teacher' => '教师', 'other' => '社会人员', ); $DefineYearAry = array(); for ($i=1901;$i<=(int)date('Y');$i++) { $DefineYearAry[$i] = $i; } $DefineMonthAry = array(); for ($i=1;$i<=12;$i++) { $DefineMonthAry[$i] = $i; } $DefineDayAry = array(); for ($i=1;$i<=31;$i++) { $DefineDayAry[$i] = $i; }